<!DOCTYPE html>
<html lang="en" ng-app="AngularJSDemo">
<head>
	<meta charset="UTF-8">
	<title>购物车Demo</title>
</head>
<body ng-controller="CartController">
	<div ng-repeat="item in items">
		<span>{{item.tilte}}</span>
		<input ng-model="item.quantity">
		<span>{{item.quantity}}</span>
		<span>{{item.price | currency}}</span>
		<span>{{item.pri
		ce * item.quantity | currency}}</span>
		<button ng-click="remove($index)">remove</button>
	</div>
	<div>总共：{{totalCart() | currency}}</div>
	<script type="text/javascript">

	</script>
	<!-- Hello {{'world'}}!
	<div ng-controller="GreetingController">
            <p>{{greeting}},Angular</p>
        </div> -->

	<script src="lib/angular/angular.min.js"></script>
	<script src="js/controllers.js"></script>
</body>
</html>